package com.love.cloud.admin.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author hongdongqu
 */
@Data
@ApiModel
public class UpdateUserVo {
    /**
     * 更新用户状态
     */
    public interface UpdateUserStatus{

    }
    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id")
    @NotNull(message = "用户id不能为空",groups = {UpdateUserStatus.class})
    private Long userId;

    /**
     * 状态
     */
    @ApiModelProperty(name = "状态")
    @NotBlank(message = "状态不能为空",groups = {UpdateUserStatus.class})
    private String status;
}
